<div class="lists form">
	<?php echo $this->Form->create($modelName);?>
	<h3><?php print __('Create ' . $modelName); ?></h3>
	<fieldset>
		<?php
			echo $this->Form->input('name');
			if( $modelName == 'City' ) {
				echo $this->Form->input('latitude');
				echo $this->Form->input('longitude');
			}
		?>
		<div>
			<input type="submit" value="<?php echo __('Save'); ?>" class="submit" />
			<a href="<?php echo $this->Html->url(array('action' => $modelTag)); ?>" class="button"><?php echo __('Cancel'); ?></a>
		</div>
	</fieldset>
	<?php echo $this->Form->end();?>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		$(".lists form").validate(formValidations.<?php echo $modelName ?>);
	});
</script>